home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2168 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.7 KB  |  54 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.shlink.de!wiloyee!chaos
  3. From: chaos@wiloyee.shnet.org
  4. Subject: Re: Demo/game to OS friendly part II
  5. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  6. Organization: Studentenhochhaus Wedel Deutschland
  7. Message-ID: <DLsCMt.MBt@wiloyee.shnet.org>
  8. References: <38232020@kone.fipnet.fi> <9PxXx*kka@aargh.incubus.sub.org> <4des65$bgk@serpens.rhein.de>,<38232076@kone.fipnet.fi> <4e1hk6$tfd@news.isc.rit.edu>
  9. Date: Fri, 26 Jan 1996 11:16:04 GMT
  10.  
  11. mjp3783@alpha.isc.rit.edu wrote:
  12. : All of these "discussions" of OS functionality remind me of a conversation that
  13. : happened here a long time ago. A group of asm programmers were discussing the
  14. : fastest way to copy memory from one location to another. After 2-3 weeks, they
  15. : finally had a piece of code for everyone to see. (For those interested, it
  16. : moved all of the registers to the stack, copied 14-15 registers at a time, then
  17. : replaced the stack and all of its variables). Mike Sinz (I think - maybe Radell
  18. : Jessup) replied to the message and stated that that was almost instruction for
  19. : instruction what the OS does. You can take this one of two ways:
  20. : 1) K0derz are as smart as the OS designers and don't need an OS, anyway
  21. : 2) OS designers have some vague clue what optimization is, might be doing
  22. : something right and don't need a bunch of snot nosed brats who can't deal with
  23. : any rules to tell them that they don't know the jobs they are being well
  24. : compensated for.  
  25. : You decide which way suits your needs.
  26.  
  27. you can ofcourse use the chunky to planar routines of kick3.1, and chris
  28. green did a really clever job, with special optimisations for akiko hardware
  29. if present, but they are still far away from what you can do by yourself.
  30.  
  31. sometimes, os routines are as good as what you cn do by yourself. the easier
  32. the task, the bigger the chance that the os can do it as well. copying
  33. memory is a very simple task
  34.  
  35. but if the task is very complicated, like merging copperlists or doing c2p,
  36. you can be SURE that more specialised routines can do a faster job.
  37.  
  38. the best example are the routines for merging copperlists. on kick2.0 they
  39. were really slow. with kick3.0 (orkick3.1) the speed got acceptable. but if
  40. you want some really nice stuff, like complex paralaxing (see the game Mr.
  41. Nutz), then it's useless to use the OS. Mr. Nutz runs very well on an A500
  42. (50 fps), but using os it woun't run on an A4000.
  43.  
  44. special routines win over general purpose routines, and an os can only
  45. contain general pupose routines.
  46.  
  47.  
  48. : something right and don't need a bunch of snot nosed brats who can't deal with
  49. i get teh feeling that discussion in this thread is impossible without bad
  50. language. very professional, oslamic.  
  51.